/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package local;

import java.util.ArrayList;
import javax.ejb.Local;
import model.Configuration;
import model.Question;
import model.Theme;

/**
 *
 * @author Randy
 */
@Local
public interface QuestionFacadeLocal {

    public ArrayList<Question> getQuestions(Long theme_id);

    public void updateQuestion(Long qns_id, String question, String status);

    public void createQuestion(Long theme, String question);

    public void edit(model.Question a);

    public ArrayList<Question> findQnsByThemes(Theme[] themes, Configuration config);
}
